export enum Code {
  SUCCESS = 200,
  BADREQUEST = 500
}

export enum Message {
  SUCCESS = 'success',
  BADREQUEST = 'bad request'
}
export interface Response {
  code: Code,
  msg: Message & string,
  data?: any
} 